// 配置栏目表
const { Sequelize, Model } = require('sequelize')
const { sequelize } = require('../../config/db')

class Extend extends Model{
}
Extend.init({
  name: Sequelize.STRING,
  title: Sequelize.STRING,
  subtitle: Sequelize.STRING,
  describe: Sequelize.STRING,
  page_path: Sequelize.STRING,
},{
  sequelize,
  tableName: 'extend'
})
Extend.sync({
  alter: true, 
})
module.exports = {
  Extend
}